<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    console.log(1);
async function abc() {
    console.log(2);
    await console.log(3) // 输出3之后，遇到await，暂停函数执行
    console.log(4);
}
abc();
console.log(5);

  </script>
</body>
</html>
